package com.ruikong.dazhi.dao.basicinfo;

import com.ruikong.dazhi.entity.basicinfo.StockType;

import java.util.List;

/**
 * (StockType)表数据库访问层
 *
 * @author HuaJiaYi
 * @since 2021-09-09 13:22:10
 */
public interface StockTypeMapper {


    StockType queryById(Integer id);

    List<StockType> queryByPId(int stock_type_pid);

    int insert(StockType p);

    int update(StockType p);

    int deleteById(Integer id);

    List<StockType> getStockTypeList();

    Integer isExist(StockType s);

    Integer getId();

    StockType queryStockTypeByName(String stock_type_name);

}

